@mixin flex-column {
  display: flex;
  flex-direction: column;
}
@mixin flex-row {
  display: flex;
  flex-direction: row;
}
.record-detail {
  box-sizing: border-box;
  height: 100vh;
  overflow-x: hidden;
  background: #F5F5F5;
  color: #333333;
  .color-green {
    color: #67C23A;
  }
  .color-yellow-deep {
    color: #E6A23C;
  }
  .color-yellow-shallow {
    color: #B78411;
  }
  .color-red {
    color: #E0251A;
  }
  .color-border-green {
    border-color: #67C23A;
    color: #67C23A;
  }
  .color-border-yellow-deep {
    border-color: #E6A23C;
    color: #E6A23C;
  }
  .color-border-yellow-shallow {
    border-color: #B78411;
    color: #B78411;
  }
  .color-border-red {
    border-color: #E0251A;
    color: #E0251A;
  }
  .bgc-green {
    background-color: rgba(103,194,58,0.2);
  }
  .bgc-yellow-deep {
    background-color: rgba(230,162,60,0.2);
  }
  .bgc-yellow-shallow {
    background-color: rgba(183,132,17,0.2);
  }
  .bgc-red {
    background-color: rgba(224,37,26,0.2);
  }
  .car-info {
    position: relative;
    box-sizing: border-box;
    @include flex-row;
    padding: 24rpx;
    background-color: #ffffff;
    &::after {
      content: '';
      position: absolute;
      left: 40rpx;
      bottom: -1rpx;
      height: 1rpx;
      width: 100%;
      background-color: #E5E5E5;
    }
    &-brand-logo {
      margin-right: 16px;
      image {
        width: 80rpx;
        height: 80rpx;
      }
    }
    &-detail {
      flex: 1;
      word-wrap: break-word; 
      word-break: break-all;
      .brand-name {
        font-size: 32rpx;
        font-weight: 500;
      }
      .series-model {
        margin-top: 4px;
        font-size: 26rpx;
        font-weight: 400;
        color: #666666;
      }
    }
  }
  .detection-info {
    padding: 24rpx;
    margin-bottom: 24rpx;
    background-color: #ffffff;
    .top {
      .row-item {
        @include flex-row;
        justify-content: space-between;
        align-items: center;
        padding: 8rpx 24rpx;
        font-size: 26rpx;
        color: #999999;
        font-weight:400;
        .label {
          color: #666666;
        }
      }
    }
    .bottom {
      @include flex-row;
      height: 120rpx;
      margin-top: 20rpx;
      border-radius: 12rpx;
      .score-wrap, .detecter-wrap {
        height: 120rpx;
        flex: 1;
        @include flex-column;
        align-items: center;
        justify-content: center;
        color: #666666;
        font-size: 24rpx;
        
        .score {
          font-size: 52rpx;
          line-height: 1;
          font-weight: 600;
        }
        .detecter {
          color: #333333;
          font-size: 28rpx;
          margin-bottom: 8rpx;
        }
      }
    }
  }
  .content {
    .attention, .all {
      box-sizing: border-box;
      padding: 0 24rpx;
      // padding-bottom: 0rpx;
      &-title {
        display: inline-flex;
        font-size: 32rpx;
        line-height: 1;
        margin-bottom: 12rpx;
        color: #333333;
        &-active {
          color: #E6A23C;
        }
      }
      &-content {
        background-color: #ffffff;
        border-radius: 12rpx;
        font-size: 26rpx;
        font-weight: 400;
        color: #333333;
        &-item-wrap {
          margin-bottom: 24rpx;
          border-radius: 12rpx;
          &-title {
            @include flex-row;
            align-items: center;
            justify-content: space-between;
            padding: 10rpx 24rpx;
            border-radius:12px 12px 0px 0px;
            background-color: #E5E5E5;
            &-left {
              .tip {
                color: #666666;
              }
            }
            &-right {
              @include flex-row;
              align-items: center;
              justify-content: flex-end;
              min-width: 260rpx;
              .tip {
                color: #E6A23C;
                margin-right: 32rpx;
              }
              .action {
                @include flex-row;
                align-items: center;
                justify-content: space-between;
                color: #666666;
              }
            }
          }
        }
        &-item {
          background-color: #ffffff;
          padding: 24rpx;
          padding-top: 0rpx;
          margin-bottom: 24rpx;
          border-bottom: 1rpx solid #E5E5E5;
          &.visiable {
            display: block;
          }
          &.hidden {
            display: none;
          }
          &.no-border-radius {
            border-radius: 0rpx 0rpx 12rpx 12rpx;
          }
          &:first-child {
            border-radius: 12rpx 12rpx 0rpx 0rpx ;
          }
          &:last-child {
            border-bottom: 0rpx;
            border-radius: 0rpx 0rpx 12rpx 12rpx;
          }
          &-title {
            font-size: 30rpx;
            font-weight: 500;
            @include flex-row;
            align-items: center;
            justify-content: space-between;
            padding: 24rpx 0rpx 10rpx 0rpx;
            .left {
              @include flex-row;
              align-items: center;
              .tag {
                display: inline-flex;
                font-size: 24rpx;
                font-weight: 400;
                border-width: 1rpx;
                border-style: solid;
                margin-left: 12rpx;
                line-height: 1;
                padding: 4rpx 12rpx;
                border-radius: 4px;
              }
            }
          }
          &-result-2 .title {
            margin-top: 12rpx;
          }
          &-result, &-result-2 {
            .title {
              color: #666666;
            }
            .content {
              .order {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 26rpx;
                height: 26rpx;
                font-size: 22rpx;
                margin-right: 8rpx;
                border-radius: 50%;
                border: 1px solid #333333;
                text-align: center;
              }
            }
          }
          &-imgs {
            margin-top: 24rpx;
            width: 100%;
            image {
              width: 160rpx;
              height: 160rpx;
              margin-right: 24rpx;
              border-radius: 12rpx;
              &:last-child {
                margin-right: 0rpx;
              }
            }
          }
        }
      }
    }
    .attention {

    }
    .all {
      padding-bottom: 60rpx;
      &-content {
        background-color: #F5F5F5;
        // height: 0rpx;
        &-item {
          position: relative;
          overflow: hidden;
          transition: height 300ms cubic-bezier(.47,0,.745,.715);
          // transition: max-height .25s;
          &.inactive {
            position: absolute;
            visibility: hidden;
            height: 0;
            z-index: -10;
          }
          
        }
      }
    }
  }
}